package work6;

/**
 * @TODO
 * @Author xu
 * 2025/2/28
 */
public class BankAccount {
    private String accountId;
    private String accountHolderName;
    private String accountHolderIdNumber;
    private String accountHolderPhone;
    private String accountHolderEmail;

    // 构造方法
    public BankAccount(String accountId, String accountHolderName, String accountHolderIdNumber,
                       String accountHolderPhone, String accountHolderEmail) {
        this.accountId = accountId;
        this.accountHolderName = accountHolderName;
        this.accountHolderIdNumber = accountHolderIdNumber;
        this.accountHolderPhone = accountHolderPhone;
        this.accountHolderEmail = accountHolderEmail;
    }

    // Getter 和 Setter 方法
    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getAccountHolderName() {
        return accountHolderName;
    }

    public void setAccountHolderName(String accountHolderName) {
        this.accountHolderName = accountHolderName;
    }

    public String getAccountHolderIdNumber() {
        return accountHolderIdNumber;
    }

    public void setAccountHolderIdNumber(String accountHolderIdNumber) {
        this.accountHolderIdNumber = accountHolderIdNumber;
    }

    public String getAccountHolderPhone() {
        return accountHolderPhone;
    }

    public void setAccountHolderPhone(String accountHolderPhone) {
        this.accountHolderPhone = accountHolderPhone;
    }

    public String getAccountHolderEmail() {
        return accountHolderEmail;
    }

    public void setAccountHolderEmail(String accountHolderEmail) {
        this.accountHolderEmail = accountHolderEmail;
    }
}
